package org.springblade.mach.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.mp.base.BaseEntity;

@Data
@TableName("data_drawing_attach_approval")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "DrawingAttachApproval对象", description = "图纸附件审批表")
public class DrawingAttachApproval extends BaseEntity {
	//审批结果 0：驳回，1：同意
	public static final int APPROVAL_RESULT_REJECT = 0;
	public static final int APPROVAL_RESULT_GRANTED = 1;

	@ApiModelProperty(value = "图纸上传主键")
	private Long uploadId;

	@ApiModelProperty(value = "附件主键")
	private Long attachId;

	@ApiModelProperty(value = "审批结果")
	private Integer approvalResult;

	@ApiModelProperty(value = "审批意见")
	private String approvalOpinion;

	@ApiModelProperty(value = "任务定义主键")
	private String taskDefinitionKey;

	@ApiModelProperty(value = "附件原名")
	private String originalName;

	@ApiModelProperty(value = "图纸类型")
	private String type;

}
